﻿using Setme.Domain.Model;
using Setme.Infrastructure;
using System.Linq;

namespace Setme.Domain.Repository
{
    public interface IRepositoryContext : IUnitOfWork
    {
        void RegisterCreate(IAggregateRoot aggre);
        void RegisterDeleted(IAggregateRoot aggre);
        void RegisterUpdate(IAggregateRoot aggre);
        IQueryable<TEntity> GetEntity<TEntity>() where TEntity : class,IAggregateRoot;
    }
}
